package com.primb.bench.project.home.model;

import com.primb.bench.project.home.contract.HomeContract;
import com.primb.netlibs.converter.RxSchedulerUtils;

import rx.Observable;

/**
 * Created by Administrator on 2017/04/24
 */

public class HomeModelImpl implements HomeContract.Model {

    @Override
    public Observable<String> loadSpot(String userId) {
        // TODO: 2017/4/25 后期添加后台的retrofit返回的Observable
        return Observable.just("12").compose(RxSchedulerUtils.normalSchedulersTransformer());
    }
}